<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="Admin/webroot/css/style.css"/>
<title>首页</title>
</head>
<script type="text/javascript" src="Admin/webroot/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="Admin/webroot/js/global.js"></script>
<body>
<!--[if lte IE 6]>
<script src="js/DD_belatedPNG_0.0.8a.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
	DD_belatedPNG.fix('.pngfix');
</script>
<![endif]--> 
<div class="rightbox">
    <div class="rightbox-col" id="right">
      <div class="main">
        {include file='../Common/main_title.html'}
        <div class="bd">
          <div class="height_20"></div>
          <div class="main_content">
            <form method="post" action="index.php?g=admin&m=user&a={$action}">
              <p><span>用户名</span><input type="text" name="username" value="{$user_info['username']}" />
              </p>
              <p><span>密码</span><input type="password" name="new_password" />
              </p>
              <p><span>确认密码</span><input type="password" name="confirm_password" />
              </p>
              <p><span>用户组</span><select name="group_id">
{foreach from=$user_group item=group}
<option {if $user_info['group_id'] eq $group.id} selected="selected"{/if} value="{$group.id}">{$group.role_name}</option>
{/foreach}
</select>
              </p>
              <p><span>email</span><input type="text" name="email" value="{$user_info['email']}" />
              </p>
              <p><span>qq</span><input type="text" name="qq" value="{$user_info['qq']}" />
<input type="hidden" name="id" value="{$id}" />
              </p>
              
              <input class="submit_btn" type="submit" value="提交" />
            </form>
          </div>
        </div>
      </div>
    </div>
    <div class="clear"></div>
  </div>
</body>
</html>
